<template>
  <el-table v-bind="tableConfig">
    <el-table-column v-for="(item,index) in columns" :key="index" v-bind="item">
      <slot v-if="item.slotName" :name="item.slotName"></slot>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  name: "TableSelf",
  props: ["tableConfig", "columns"]
}
</script>

<style scoped>

</style>
